package com.yidu.oracle.service;

import com.yidu.oracle.dao.MessageDao;
import com.yidu.oracle.model.Message;

import java.util.List;

/**
 * @ClassName WJY
 * @Description
 * @Author86157
 * @Date 2021/3/24 13:10
 * @Version 1.0
 */
public class MessageBiz {
    MessageDao messageDao=new MessageDao();

    public List<Message> select() {
        return messageDao.select();
    }

    public int add(Message message) {
        return messageDao.add(message);
    }
}
